@extends('admin.layout.layout')
@section('content')
<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">景点添加</h1>
    </div>
</div>


<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
               景点添加
            </div>
            <div class="panel-body">
                <div class="row">
                    <div class="col-lg-6 col-lg-offset-3">
                        @if (count($errors) > 0)
                            <div class="alert alert-danger">
                                <ul>
                                    @foreach ($errors->all() as $error)
                                        <li>{{ $error }}</li>
                                    @endforeach
                                </ul>
                            </div>
                        @endif
                        <form role="form" action="{{url('admin/scenic/insert')}}" method="post">
                            <div class="form-group">
                                <label>景点名称</label>
                                <input class="form-control" type="text" name="name" value="{{old('name')}}">   
                            </div>
                            <div class="form-group">
                                <label>景点简介</label>
                                <input class="form-control" type="text" name="description" value="{{old('description')}}">   
                            </div>
                            <div class="form-group">
                                <label>地址</label>
                                <input class="form-control" type="text" name="address" value="{{old('address')}}">   
                            </div>
                            <div class="form-group">
                                <label>开放时间</label>
                                <input class="form-control" type="text" name="ktime" value="{{old('ktime')}}">   
                            </div>
                            <div class="form-group">
                                <label>服务保障</label>
                                <input class="form-control" type="text" name="server" value="{{old('server')}}">   
                            </div>
                            <div class="form-group">
                                <label>门票</label>
                                <input class="form-control" type="text" name="price" value="{{old('price')}}">   
                            </div>
                            <div class="form-group">
                                <label>原价</label>
                                <input class="form-control" type="text" name="oldprice" value="{{old('oldprice')}}">   
                            </div>

                            {{csrf_field()}}
                            <button type="submit" class="btn btn-default">提交</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </form>
                    </div>
                    <!-- /.col-lg-6 (nested) -->
                </div>
                <!-- /.row (nested) -->
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
    <!-- /.col-lg-12 -->
</div>
<!-- /.row -->


@endsection